{$xp_currentnav_html}
    <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <!--
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Locales')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-locales" data-rule="required" class="form-control selectpicker" name="row[locales]">
                    {foreach name="localesList" item="vo"}
                        <option value="{$key}" {in name="key" value="$row.locales"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Demo')}:</label>
            <div class="col-xs-12 col-sm-8">
                <textarea id="c-demo" class="form-control " rows="5" name="row[demo]" cols="50">{$row.demo|htmlentities}</textarea>
            </div>
        </div>
         -->
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfghasdatelimit')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-cfghasdatelimit" class="form-control selectpicker" name="row[cfghasdatelimit]">
                    {foreach name="cfghasdatelimitList" item="vo"}
                        <option value="{$key}" {in name="key" value="$row.cfghasdatelimit"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group" data-favisible="cfghasdatelimit=Y">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfgbegintime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-cfgbegintime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cfgbegintime]" type="text" value="{:$row.cfgbegintime?datetime($row.cfgbegintime):''}">
            </div>
        </div>
        <div class="form-group" data-favisible="cfghasdatelimit=Y">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfgendtime')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-cfgendtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cfgendtime]" type="text" value="{:$row.cfgendtime?datetime($row.cfgendtime):''}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfgmaxanswercount')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-cfgmaxanswercount" class="form-control" name="row[cfgmaxanswercount]" type="number" value="{$row.cfgmaxanswercount|htmlentities}">
            </div>
        </div>
        <!--
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfgresultmsg')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-cfgresultmsg" class="form-control" name="row[cfgresultmsg]" type="text" value="{$row.cfgresultmsg|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfgresultmsgimage')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-cfgresultmsgimage" class="form-control" size="50" name="row[cfgresultmsgimage]" type="text" value="{$row.cfgresultmsgimage|htmlentities}">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="faupload-cfgresultmsgimage" class="btn btn-danger faupload" data-input-id="c-cfgresultmsgimage" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-cfgresultmsgimage"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" id="fachoose-cfgresultmsgimage" class="btn btn-primary fachoose" data-input-id="c-cfgresultmsgimage" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-cfgresultmsgimage"></span>
                </div>
                <ul class="row list-inline faupload-preview" id="p-cfgresultmsgimage"></ul>
            </div>
        </div>
         -->
        <!-- <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfghastimelimit')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-cfghastimelimit" class="form-control selectpicker" name="row[cfghastimelimit]">
                    {foreach name="cfghastimelimitList" item="vo"}
                        <option value="{$key}" {in name="key" value="$row.cfghastimelimit"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group c-cfghastimelimit-Y">
            <label class="control-label col-xs-12 col-sm-2">{:__('Cfgtimelimitsecs')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-cfgtimelimitsecs" class="form-control" name="row[cfgtimelimitsecs]" type="number" value="{$row.cfgtimelimitsecs|htmlentities}">
            </div>
        </div> -->
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
            <div class="col-xs-12 col-sm-8">

                <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                {/foreach}
                </div>

            </div>
        </div>
        <div class="form-group layer-footer">
            <label class="control-label col-xs-12 col-sm-2"></label>
            <div class="col-xs-12 col-sm-8">
                <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
            </div>
        </div>
    </form>
